from django import forms
from django.forms import ModelForm
from django.contrib.auth.models import User

class feedbackForm(forms.Form):
    your_name = forms.CharField(label='Name:',max_length=100)
    your_email = forms.EmailField(label='Email:',max_length=200)
    your_feedback = forms.CharField(widget=forms.Textarea(attrs={'class': 'feedback_field'}),label='Feedback:')
class UserForm(ModelForm):
    class Meta:
        model = User
        fields = ['first_name','last_name','username','password','email']
class LoginForm(forms.Form):
    user_name = forms.EmailField(label= 'UserName / Email :',max_length=200)
	password = forms.CharField(label= 'Password :',max_length=200,widgets=forms.PasswordInput)